package com.myspring.resttest.model.VirtualMachine;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@Table(name="virtualmachine")
public class VirtualMachineAnnotation {

	@Id
	@Column(name="vmid")
	private int vmid;
	
	
	@Column(name="vmname")
	private String vmname;
	
	@Column(name="vminfo")
	@Lob
	private String vminfo;

	public int getVmid() {
		return vmid;
	}

	public void setVmid(int vmid) {
		this.vmid = vmid;
	}

	public String getVmname() {
		return vmname;
	}

	public void setVmname(String vmname) {
		this.vmname = vmname;
	}

	public String getVminfo() {
		return vminfo;
	}

	public void setVminfo(String vminfo) {
		this.vminfo = vminfo;
	}
}
